-
Notifications
You must be signed in to change notification settings - Fork 3
Irsa 3460 port to debian10 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
smonkewitz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
If the sleep calls can be removed form the demo files, I think that would be an improvement.
json_demo/json_demo.cpp
Outdated
| write_addrs(file_name, addrs); | ||
|
|
||
| std::chrono::seconds dura(1); | ||
| std::this_thread::sleep_for(dura); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the sleeps (here and below)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per the commit comment:
json_demo.cpp, json_map_demo.cpp, json_headers_only_demo.cpp: Added "sleep()" call
intended to prevent unreproducible "read" failures.
I'll remove the sleep statements now and see if I still see those failures.
|
(Again, it looks like we probably shouldn't merge until we are ready to switch development to Debian 10 entirely). |
The port was complicated by changes to boost::spirit which I was unable to pinpoint.
json5_parser_reader_template.h: new_identifier() now trims trailing whitespace no
longer trimmed by boost::spirit parser.
json5_parser_reader_test.cpp:
test_reading(): reformatted and added test case.
check_reading_arrays(): added "unget()" to accommodate change to boost::spirit.
json5_parser_value_test.cpp: tweaked to accommodate change to boost::assign::list_of().
json_demo.cpp, json_map_demo.cpp, json_headers_only_demo.cpp: Added "sleep()" call
intended to prevent unreproducible "read" failures.
Added print statements to test source files.
wscript: Replaced "-Ofast" with "-O3".
cbb1659 to
baf3bdd
Compare
|
Hi, Angela. Serge reviewed this branch (Port to Debian 10) but didn't approve because we weren't ready to merge to master. Could you please approve it? The Debian 11 branch is based on this one. |
No description provided.